//
//  Database.h
//  DouBanDemo
//
//  Created by LiuFei on 14/11/10.
//  Copyright (c) 2014年 LiuFei. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "Model.h"
@interface Database : NSObject


+ (void)insertWithModel:(Model *)model table:(NSString *)table;

+ (void)deleteWithId:(NSInteger)bId table:(NSString *)table;

+ (void)deleteAll:(NSString *)table;

+ (NSMutableArray *)selectAll:(NSString *)table;

+ (Model *)selectWithId:(NSInteger)bId table:(NSString *)table;


@end
